From db7d59e089232f02e9229377f014465a989d1248 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 16 May 2016 01:03:35 +0300 Subject: [PATCH] fix exit_code tests --- tests/test_cargo_run.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_cargo_run.rs b/tests/test_cargo_run.rs index 39352b695..8a3ab2b29 100644 --- a/tests/test_cargo_run.rs +++ b/tests/test_cargo_run.rs @@ -120,6 +120,8 @@ test!(exit_code { assert_that(p.cargo_process("run"), execs().with_status(2) .with_stderr("\ +[COMPILING] foo v0.0.1 (file[..]) +[RUNNING] `target[..]` [ERROR] Process didn't exit successfully: `target[..]foo[..]` (exit code: 2) ")); }); @@ -139,6 +141,9 @@ test!(exit_code_verbose { assert_that(p.cargo_process("run").arg("-v"), execs().with_status(2) .with_stderr("\ +[COMPILING] foo v0.0.1 (file[..]) +[RUNNING] `rustc [..]` +[RUNNING] `target[..]` [ERROR] Process didn't exit successfully: `target[..]foo[..]` (exit code: 2) ")); }); -- 2.30.2